package com.skyable.common.constants.exception;

/**
 * @author GaoYuan
 * @title: AccountExcpConstants
 * @projectName private-cloud
 * @description: TODO
 * @date 2021/4/1716:52
 */
public class AccountExcpConstants {

    public static Integer ERROR_CODE_PERMISSION_EXISTS = 4000;
    public static String ERROR_MSG_PERMISSION_EXISTS = "权限编码已存在";

    public static Integer ERROR_CODE_ROLE_EXISTS = 4001;
    public static String ERROR_MSG_ROLE_EXISTS = "角色编码已存在";

    public static Integer ERROR_CODE_DEPT_EXISTS = 4002;
    public static String ERROR_MSG_DEPT_EXISTS = "部门编码已存在";

    public static Integer ERROR_CODE_USER_NAME_EXISTS = 4003;
    public static String ERROR_MSG_USER_NAME_EXISTS = "用户名已存在";

    public static Integer ERROR_CODE_USER_PHONE_EXISTS = 4004;
    public static String ERROR_MSG_USER_PHONE_EXISTS = "手机号已存在";

    public static Integer ERROR_CODE_USER_EMAIL_EXISTS = 4005;
    public static String ERROR_MSG_USER_EMAIL_EXISTS = "邮箱已存在";

    public static Integer ERROR_CODE_WEI_XIN_AUTH_FAIL = 4006;
    public static String ERROR_MSG_WEI_XIN_AUTH_FAIL  = "微信授权失败";

    public static Integer ERROR_CODE_USER_NOT_EXISTS = 4007;
    public static String ERROR_MSG_USER_NOT_EXISTS = "用户不存在";

    public static Integer ERROR_CODE_COMPANY_EXISTS = 4008;
    public static String ERROR_MSG_COMPANY_EXISTS = "公司名称已存在";
}
